﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Fitness_club
{
    public partial class AttendanceLanding : Form
    {
       
        
        public static string constr = ConfigurationManager.AppSettings["ConStr"];
        SqlConnection con = new SqlConnection(constr);
        public AttendanceLanding()
        {
            InitializeComponent();
        }

        private void buttonIN_Click(object sender, EventArgs e)
        {                        
            AttendanceEntering entering = new AttendanceEntering();
            entering.Show();
            this.Dispose();
        }

        private void buttonOUT_Click(object sender, EventArgs e)
        {
            //AttendanceEntering entering = new AttendanceEntering();
            //entering.Show();
            
            OUTTIME outtime = new OUTTIME();
            outtime.Show();
            this.Dispose();           
        }

        private void AttendanceLanding_Load(object sender, EventArgs e)
        {
            //fetchAttendance();
        }

        private void buttonVIEWATTENDANCE_Click(object sender, EventArgs e)
        {
            ViewAllAttendance all = new ViewAllAttendance();
            all.Show();
            this.Dispose();
        }

        private void groupBox1_Enter(object sender, EventArgs e)
        {

        }

      

    }
}
